﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Gao.Poker.App.Print
{
    /// <summary>
    /// Interaction logic for MemberPrint.xaml
    /// </summary>
    public partial class MemberPrint : Page
    {
        public MemberPrint()
        {
            InitializeComponent();
        }

        public void SetPrintValues(string memberName, string cardNo,int money, int balance)
        {
            tbMemberName.Text = String.Format("会员名 {0}", memberName);
            tbCardNo.Text = String.Format("卡号 {0}", cardNo);
            tbDate.Text = String.Format("日期 {0}", DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"));
            tbMoney.Text = String.Format("充值积分 {0}", money);
            tbBalance.Text = String.Format("剩余积分 {0}", balance);
        }
    }
}
